package org.jeecg.modules.travel.user.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.travel.user.entity.TravelWechatUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @Description: Travel Car
 * @Author: Travel
 * @Date:  2023-03-12
 * @Version: V1.0
 */
public interface TravelWechatUserMapper extends BaseMapper<TravelWechatUser> {

    /**
     * 根据open_id查询用户
     * @param open_id 微信用户ID
     * @return 用户信息集合
     */
	public TravelWechatUser queryById(@Param("openId") String openId);
	

	/**
	 * 插入新用户
	 * @param ui
	 * @return
	 */
	public java.lang.Long insertUser(@Param("ui") TravelWechatUser ui);


	/**
	 * 更新用户
	 * @param ui
	 * @return
	 */
	public java.lang.Boolean updateUser(@Param("ui") TravelWechatUser ui);

}
